package com.work.cos.domain.entity.pay;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 类功能说明：支付宝交易记录
 */
public class ComTradeEntity  implements Serializable{



	/**
	 *  UID
	 */
	private static final long serialVersionUID = -3501870543131374158L;

	private Long id;

	/**
	 * 付款人
	 */
	private String owner;

	/**
	 * 支付种类
	 */
	private String tradeType;

	/**
	 * 关联id
	 */
	private Long tradeId;

	/**
	 * 支付流水号
	 */
	private String tradeNo;

	/**
	 * 支付状态
	 */
	private String tradeStatus;

	/**
	 * 支付交易号
	 */
	private String outTradeNo;

	/**
	 * 标题
	 */
	private String subject;

	/**
	 * 简要
	 */
	private String body;

	/**
	 * 支付金额
	 */
	private BigDecimal totalFee;

	/**
	 * 剩余金额
	 */
	private BigDecimal leftFee;

	/**
	 * 支付宝异步通知时间
	 */
	private Date notifyTime;

	/**
	 * 查看订单Url
	 */
	private String showUrl;

	/**
	 * 实际退款金额
	 */
	private BigDecimal refundFee;

	/**
	 * 退款批次号
	 */
	private String batchNo;

	/**
	 * 退款标记
	 */
	private String refunded;

	/**
	 * 需退款时间
	 */
	private Date refundEnableTime;

	/**
	 * 退款状态
	 */
	private String refundStatus;

	public Long getId()
	{
		return id;
	}

	public void setId(Long id)
	{
		this.id = id;
	}

	public String getOwner()
	{
		return owner;
	}

	public void setOwner(String owner)
	{
		this.owner = owner;
	}

	public String getTradeType()
	{
		return tradeType;
	}

	public void setTradeType(String tradeType)
	{
		this.tradeType = tradeType;
	}

	public Long getTradeId()
	{
		return tradeId;
	}

	public void setTradeId(Long tradeId)
	{
		this.tradeId = tradeId;
	}

	public String getTradeNo()
	{
		return tradeNo;
	}

	public void setTradeNo(String tradeNo)
	{
		this.tradeNo = tradeNo;
	}

	public String getTradeStatus()
	{
		return tradeStatus;
	}

	public void setTradeStatus(String tradeStatus)
	{
		this.tradeStatus = tradeStatus;
	}

	public String getOutTradeNo()
	{
		return outTradeNo;
	}

	public void setOutTradeNo(String outTradeNo)
	{
		this.outTradeNo = outTradeNo;
	}

	public String getSubject()
	{
		return subject;
	}

	public void setSubject(String subject)
	{
		this.subject = subject;
	}

	public String getBody()
	{
		return body;
	}

	public void setBody(String body)
	{
		this.body = body;
	}

	public BigDecimal getTotalFee()
	{
		return totalFee;
	}

	public void setTotalFee(BigDecimal totalFee)
	{
		this.totalFee = totalFee;
	}

	public BigDecimal getLeftFee()
	{
		return leftFee;
	}

	public void setLeftFee(BigDecimal leftFee)
	{
		this.leftFee = leftFee;
	}

	public Date getNotifyTime()
	{
		return notifyTime;
	}

	public void setNotifyTime(Date notifyTime)
	{
		this.notifyTime = notifyTime;
	}

	public String getShowUrl()
	{
		return showUrl;
	}

	public void setShowUrl(String showUrl)
	{
		this.showUrl = showUrl;
	}

	public BigDecimal getRefundFee()
	{
		return refundFee;
	}

	public void setRefundFee(BigDecimal refundFee)
	{
		this.refundFee = refundFee;
	}

	public String getBatchNo()
	{
		return batchNo;
	}

	public void setBatchNo(String batchNo)
	{
		this.batchNo = batchNo;
	}

	public String getRefunded()
	{
		return refunded;
	}

	public void setRefunded(String refunded)
	{
		this.refunded = refunded;
	}

	public Date getRefundEnableTime()
	{
		return refundEnableTime;
	}

	public void setRefundEnableTime(Date refundEnableTime)
	{
		this.refundEnableTime = refundEnableTime;
	}

	public String getRefundStatus()
	{
		return refundStatus;
	}

	public void setRefundStatus(String refundStatus)
	{
		this.refundStatus = refundStatus;
	}

}
